package com.neusoft.elmboot.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders {
    
    private Integer orderId;
	private String userId;
	private Integer businessId;
	private String orderDate;
	private Double orderTotal;
	private Integer daId;          //送货地址编号
	private Integer orderState;    //订单状态（0：未支付； 1：已支付）
	
	//多对一：所属商家
	private Business business;
	//一对多：订单明细
	private List<OrderDetailet> list;
    

}